Lung impedence-guided therapy